package com.payment.service;
import com.payment.entity.Office;
import com.payment.entity.OfficeWithDoctorDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OfficeService {

    List<OfficeWithDoctorDTO>getOfficeWithDoctor();
    List<Office>getAll();
    Office getById(int id);
    int add(Office entity);
    int update(Office entity);
    int del(int id);
}